<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang system_tool} &raquo; {lang database}</p>
</div>
<div id="rightTop"> 
    <h3>{lang database}</h3> 
    <ul class="subnav">
		<li><a href="db.php">{lang db_backup}</a></li>
        <li><a class="btn1" href="db.php?do=restore"><span>{lang db_restore}</span></a></li>
        <li><a href="db.php?do=query">{lang db_upgrade}</a></li>
    </ul>
</div>
<div class="mrightTop"> 
    <div class="fontl">{$_upload_and_restore_database|sprintf:$backup_dir}</div> 
    <div class="fontr"></div> 
</div> 
<div id="dataListDiv" class="tdare">
  <form name="list_frm" id="ListFrm" action="" method="post">
  <table width="100%" cellspacing="0" class="dataTable" summary="{lang data_zone}">
    <thead>
		<tr>
		  <th class="firstCell"><input type="checkbox" name="idAll" id="idAll" onclick="pbCheckAll(this,'id[]');" title="{lang select_switch}"></th>
		  <th><label for="idAll">{lang file_name}</label></th>
		  <th><span>{lang backup_time}</span></th>
		  <th>{lang file_size}</th>
		  <th>{lang action}</th>
		</tr>
    </thead>
    <tbody>
		<!--{foreach from=$Items item=item}-->
		<tr class="tatr2" title="{$item.directory}">
		  <td class="firstCell"><input type="checkbox" name="id[]" value="{$item.name}" onclick="pbCheckItem(this,'idAll');" id="item_{$item.name}" title="{$item.name}"></td>
		  <td><label for="item_{$item.name}">{$item.name}</label></td>
		  <td>{$item.filemtime}</td>
		  <td>{$item.filesize|get_custom_size}</td>
		  <td class="handler">
          <ul id="handler_icon">
              <li><a class="btn_delete" href="db.php?id={$item.name}&do=del{$addParams}" title="{lang delete}">{lang delete}</a></li>
              <li><a class="btn_resend" href="db.php?do=refresh&id={$item.name}{$addParams}" onclick="confirm('{$_this_action_can_not_be_restored|sprintf:$item.name}');" title="{lang db_restore}">{lang db_restore}</a></li>
           </ul> 
		  </td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data info">
		  <td colspan="5">{lang no_datas}</td>
		</tr>
		<!--{/foreach}-->
    </tbody>
	</table>
    <div class="pageLinks">{$ByPages}</div>
    <div class="clear"/>
    </div>
	</form>
</div>
<!-- {include file="footer.html"} -->